TRVHunSpell: component forspell-checking RichViewEdit using HunSpell                                        }
RichView: Copyright (c) Sergey Tkachenko
http://www.trichview.com

HunSpell : Copyright (c) Laszlo Nemeth and others.
http://hunspell.sourceforge.net/

This component is a wrapper for HunSpell DLL (hunspelldll.dll),
License: MPL/GPL/LGPL.

  Using:
    - place TRVHunSpell on the form.
    - specify DictDir property (a path to dictionary files; you can leave
      it empty if dictionaries are in the application's directory
    - add the necessary dicionaries in Dictionaries collection:
      - RVHunSpell1.Dictionaries.Add.Load(<language>), where <language> is
        a dictionary name (for example, for en_US.dic it is 'en_US';
        On successfull loading, Language property of the new collection item
        is <language>; To load custom Dictionary, call LoadCustomDic.
      - or call LoadAllDictionaries to load all dictionaries in the path and
        custom dictionary.
    - in program, call TRVHunSpell.Check(rve, rvesFromCursor) to check
      rve: TRichViewEdit from the cursor position.
      Call TRVHunSpell.Check(rve, rvesFromStart) to check from the
      beginning.
  Custom dictionary:
    Custom dictionary is a plain text Unicode (UTF-16) file. It can be edited
    in any Unicode text editor (for example, Notepad). If you want to edit this
    file in your applications, call SaveCustomDic before editing and
    LoadCustomDic after.
  Properties:
    - DictDir: String - path to dictionaries;
    - CustomDictionaryFileName - file name of custom dictionaries,
      'customdic.txt' by default. If it does not contain a full path, it is
      searched in the application's path.
    - Dictionaries: TDictionaries - list of dictionaries; *all* these
      dictionaries are used.
    - SpellFormStyle defines which dialog style is used
      (classic or like in MS Word)
  Events:
    - OnSpellForm - event occuring when spell form is created. Can be used for
      localization.
    - OnSpellFormAction - event occuring when the user pressed a button in the
      spell form.
  This component does not support custom dictionaries.
  Functions for live spelling:
    - checking word in RichViewEdit.OnSpellingCheck: TRHunSpell.Spell
    - adding to ignore list: TRVHunSpell.AddToIgnoreList
    - adding to custom dictionary: TRVHunSpell.AddToDictionary
    - suggestions: TRVHunSpell.Suggest or SuggestW
    - event on adding word to ignore list: TRVHunSpell.OnSpellFormAction